// Last Update:2015-06-09 13:05:54

#include <SDL/SDL.h>   /* All SDL App's need this */
#include <stdio.h>

int main(int argc, char *argv[])
{

	printf("Initializing SDL.\n");

	/* Initialize defaults, Video and Audio */
	if((SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO)==-1))
	{
		printf("Could not initialize SDL: %s.\n", SDL_GetError());
		exit(-1);
	}

	printf("SDL initialized.\n");

	printf("Quiting SDL.\n");

	/* Shutdown all subsystems */
	SDL_Quit();

	printf("Quiting....\n");

	exit(0);
}
